package com.kingdee.pda.entity;

import java.io.Serializable;

/**
 * 仓库
 * Created by zhanlg
 * DATE 2021/5/21
 * TIME 20:16
 */
public class Warehouse implements Serializable {
    public Warehouse() {
    }

    public Warehouse(long id, String name) {
        this.id = id;
        this.name = name;
    }

    private long id;

    private String number;

    private String name;

    private String orgname;//管理组织名称

    private long org;//管理组织id

    private boolean fisaccounting;//是否为核算组织

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return name == null ? "" : name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOrgname() {
        return orgname == null ? "" : orgname;
    }

    public void setOrgname(String orgname) {
        this.orgname = orgname;
    }

    public long getOrg() {
        return org;
    }

    public void setOrg(long org) {
        this.org = org;
    }

    public boolean isFisaccounting() {
        return fisaccounting;
    }

    public void setFisaccounting(boolean fisaccounting) {
        this.fisaccounting = fisaccounting;
    }
}
